<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="custom-style.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
	<div style="overflow: hidden;">
		<div style="height: 57px;min-width: 1039px;background-size: auto 100%;background:url('');">
			<img src="titleleft.png" style="float: left;"/>
			<img src="titleright.png" alt="" style="float: right;" />
		</div>
	</div>
<!-- 制作者 Doxygen 1.8.15 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>法律声明</span></a></li>
      <li><a href="_xE9_xA6_x96_xE9_xA1_xB5.html"><span>首页</span></a></li>
      <li><a href="_xE6_x9B_xB4_xE6_x96_xB0_xE8_xAE_xB0_xE5_xBD_x95.html"><span>更新记录</span></a></li>
      <li><a href="_xE7_x8E_xAF_xE5_xA2_x83_xE9_x85_x8D_xE7_xBD_xAE.html"><span>环境配置</span></a></li>
      <li><a href="_xE7_xBC_x96_xE7_xA8_x8B_xE5_xBC_x95_xE5_xAF_xBC.html"><span>编程引导</span></a></li>
      <li class="current"><a href="modules.html"><span>接口说明</span></a></li>
      <li><a href="annotated.html"><span>结构体定义</span></a></li>
      <li><a href="_xE7_x9B_xB8_xE6_x9C_xBA_xE5_x8F_x82_xE6_x95_xB0_xE8_x8A_x82_xE7_x82_xB9_xE8_xA1_xA8.html"><span>相机参数节点表</span></a></li>
      <li><a href="examples.html"><span>示例程序</span></a></li>
      <li><a href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html"><span>状态码</span></a></li>
      <li><a href="_xE5_xB8_xB8_xE8_xA7_x81_xE9_x97_xAE_xE9_xA2_x98.html"><span>常见问题</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">GenTL</div>  </div>
</div><!--header-->
<div class="contents">

<p>GenTL相关接口  
<a href="#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ga258ed0853e1feccc8dade48c805ac979"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gen_t_l.html#ga258ed0853e1feccc8dade48c805ac979">MV_CC_EnumInterfacesByGenTL</a> (IN OUT <a class="el" href="struct_m_v___g_e_n_t_l___i_f___i_n_f_o___l_i_s_t.html">MV_GENTL_IF_INFO_LIST</a> *pstIFList, IN const char *strGenTLPath)</td></tr>
<tr class="memdesc:ga258ed0853e1feccc8dade48c805ac979"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过GenTL枚举Interfaces  <a href="#ga258ed0853e1feccc8dade48c805ac979">更多...</a><br /></td></tr>
<tr class="separator:ga258ed0853e1feccc8dade48c805ac979"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4cb02bc585e4170ee490b14b039e8f83"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gen_t_l.html#ga4cb02bc585e4170ee490b14b039e8f83">MV_CC_UnloadGenTLLibrary</a> (IN const char *pGenTLPath)</td></tr>
<tr class="memdesc:ga4cb02bc585e4170ee490b14b039e8f83"><td class="mdescLeft">&#160;</td><td class="mdescRight">卸载cti库  <a href="#ga4cb02bc585e4170ee490b14b039e8f83">更多...</a><br /></td></tr>
<tr class="separator:ga4cb02bc585e4170ee490b14b039e8f83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1958d399971c73a667f25d41002fbce2"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gen_t_l.html#ga1958d399971c73a667f25d41002fbce2">MV_CC_EnumDevicesByGenTL</a> (IN <a class="el" href="struct_m_v___g_e_n_t_l___i_f___i_n_f_o.html">MV_GENTL_IF_INFO</a> *pstIFInfo, IN OUT <a class="el" href="struct_m_v___g_e_n_t_l___d_e_v___i_n_f_o___l_i_s_t.html">MV_GENTL_DEV_INFO_LIST</a> *pstDevList)</td></tr>
<tr class="memdesc:ga1958d399971c73a667f25d41002fbce2"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过GenTL Interface枚举设备  <a href="#ga1958d399971c73a667f25d41002fbce2">更多...</a><br /></td></tr>
<tr class="separator:ga1958d399971c73a667f25d41002fbce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga58fd5760d182ca165461496865500de4"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___gen_t_l.html#ga58fd5760d182ca165461496865500de4">MV_CC_CreateHandleByGenTL</a> (IN OUT void **handle, IN const <a class="el" href="struct_m_v___g_e_n_t_l___d_e_v___i_n_f_o.html">MV_GENTL_DEV_INFO</a> *pstDevInfo)</td></tr>
<tr class="memdesc:ga58fd5760d182ca165461496865500de4"><td class="mdescLeft">&#160;</td><td class="mdescRight">通过GenTL设备信息创建设备句柄  <a href="#ga58fd5760d182ca165461496865500de4">更多...</a><br /></td></tr>
<tr class="separator:ga58fd5760d182ca165461496865500de4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<p>GenTL相关接口 </p>
<h2 class="groupheader">函数说明</h2>
<a id="ga258ed0853e1feccc8dade48c805ac979"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga258ed0853e1feccc8dade48c805ac979">&#9670;&nbsp;</a></span>MV_CC_EnumInterfacesByGenTL()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_CC_EnumInterfacesByGenTL </td>
          <td>(</td>
          <td class="paramtype">IN OUT <a class="el" href="struct_m_v___g_e_n_t_l___i_f___i_n_f_o___l_i_s_t.html">MV_GENTL_IF_INFO_LIST</a> *&#160;</td>
          <td class="paramname"><em>pstIFList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN const char *&#160;</td>
          <td class="paramname"><em>strGenTLPath</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过GenTL枚举Interfaces </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pstIFList</td><td>[IN][OUT] Interfaces列表 </td></tr>
    <tr><td class="paramname">strGenTLPath</td><td>[IN] GenTL的cti文件路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>Interfaces列表的内存是在SDK内部分配的，多线程调用该接口时会进行设备列表内存的释放和申请，建议尽量避免多线程枚举操作。 </dd></dl>

</div>
</div>
<a id="ga4cb02bc585e4170ee490b14b039e8f83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4cb02bc585e4170ee490b14b039e8f83">&#9670;&nbsp;</a></span>MV_CC_UnloadGenTLLibrary()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_CC_UnloadGenTLLibrary </td>
          <td>(</td>
          <td class="paramtype">IN const char *&#160;</td>
          <td class="paramname"><em>pGenTLPath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>卸载cti库 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pGenTLPath</td><td>[IN] 枚举卡时加载的cti文件路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>卸载前需要保证通过该cti枚举出的相机已全部关闭，否则报错前置条件错误。 </dd></dl>

</div>
</div>
<a id="ga1958d399971c73a667f25d41002fbce2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1958d399971c73a667f25d41002fbce2">&#9670;&nbsp;</a></span>MV_CC_EnumDevicesByGenTL()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_CC_EnumDevicesByGenTL </td>
          <td>(</td>
          <td class="paramtype">IN <a class="el" href="struct_m_v___g_e_n_t_l___i_f___i_n_f_o.html">MV_GENTL_IF_INFO</a> *&#160;</td>
          <td class="paramname"><em>pstIFInfo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT <a class="el" href="struct_m_v___g_e_n_t_l___d_e_v___i_n_f_o___l_i_s_t.html">MV_GENTL_DEV_INFO_LIST</a> *&#160;</td>
          <td class="paramname"><em>pstDevList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过GenTL Interface枚举设备 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">pstIFInfo</td><td>[IN] Interface信息 </td></tr>
    <tr><td class="paramname">pstDevList</td><td>[IN][OUT] 设备列表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>设备列表的内存是在SDK内部分配的，多线程调用该接口时会进行设备列表内存的释放和申请，建议尽量避免多线程枚举操作。 </dd></dl>

</div>
</div>
<a id="ga58fd5760d182ca165461496865500de4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga58fd5760d182ca165461496865500de4">&#9670;&nbsp;</a></span>MV_CC_CreateHandleByGenTL()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_CC_CreateHandleByGenTL </td>
          <td>(</td>
          <td class="paramtype">IN OUT void **&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN const <a class="el" href="struct_m_v___g_e_n_t_l___d_e_v___i_n_f_o.html">MV_GENTL_DEV_INFO</a> *&#160;</td>
          <td class="paramname"><em>pstDevInfo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通过GenTL设备信息创建设备句柄 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN][OUT] 设备句柄 </td></tr>
    <tr><td class="paramname">pstDevInfo</td><td>[IN] 设备信息结构体指针 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>根据输入的设备信息，创建库内部必须的资源和初始化内部模块。 </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<div class="footer" style="text-align: right;">
	<hr/>
	<small></small>
</div>
<script>
	// 当前选中的菜单
	var currentMenuItem = document.querySelector('.tablist > li.current > a')
	if (currentMenuItem) { // 子菜单情况
	  window.parent.postMessage({
		navHref: currentMenuItem.href
	  }, '*')
	} else {
	  window.parent.postMessage({
		url: window.location.href
	  }, '*')
	}
  </script>
</body>
</html>